﻿using Microsoft.Xna.Framework;

namespace Babylon.Toolbox
{
    public class Bone{
        private readonly string _name;
        private readonly Matrix _transform;
        private readonly int _parentIndex;
        
        public Bone(string name, Matrix transform, int parentIndex){
            _name = name;
            _transform = transform;
            _parentIndex = parentIndex;
        }

        public int ParentIndex{
            get { return _parentIndex; }
        }

        public Matrix Transform{
            get { return _transform; }
        }

        public string Name{
            get { return _name; }
        }
    }
}
